package com.zmj.sy.mom.srv.aps.utils.nest;

import com.zmj.sy.mom.srv.aps.bean.entity.order.ApsWorkDetail;
import com.zmj.sy.mom.srv.aps.bean.entity.order.OrderBom;
import com.zmj.sy.mom.srv.aps.bean.vo.nest.NestReceiveReqVo;

import java.util.List;

@SuppressWarnings("all")
public interface NestRule {

    // 兰特克预套料
    String LANTEK_PRE = "lantek:1";

    // 兰特克套料
    String LANTEK = "lantek:2";

    // 海克思康套料
    String HEXAGON = "hexagon:2";

    String getCode();
    boolean isPre();
    String getSource();

    // 零件操作
    void partAdd(List<OrderBom> orderBomList);
    void partModify();
    void partDelete();
    void partPush();

    // 计划操作
    void planAdd(List<ApsWorkDetail> detailList, List<OrderBom> bomList, Object object);
    void planModify();
    void planDelete();
    void planPush(List<Integer> ids, String groupCode, Integer spaceId);

    // 钢板操作
    void plateBind(String plateCode, String usercode);
    void plateUnbind(String plateCode);
    void platesPush(Integer spaceId, List<String> plateCodes);

    // 接收套料结果
    void nestReceive(String body);
    NestReceiveReqVo nestReceiveNew(String body);
    // 下载相关文件


}
